[odbc] dsnless with connsettings

Hi,

I'm trying to make a dsnless connection, but i want to specify:
ConnSettings=3Dset client encoding to 'latin1';
is this possible? the reason is that my client wants dsnless but when
i try to connect get a client_encoding

--
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitaci=C3=B3n de PostgreSQL

--
Sent via pgsql-odbc mailing list (pgsql-odbc [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Jaime Casanova [ Do, 13 Mai 2010 00:00 ] [ ID #2041333 ]

Re: [odbc] dsnless with connsettings

On Wed, May 12, 2010 at 5:00 PM, Jaime Casanova <jaime [at] 2ndquadrant.com> wro=
te:
> Hi,
>
> I'm trying to make a dsnless connection, but i want to specify:
> ConnSettings=3Dset client encoding to 'latin1';
> is this possible? the reason is that my client wants dsnless but when
> i try to connect get a client_encoding
>

answering myself, what i should be using is:
"""
cn.Open "Provider=3DMSDASQL.1;DRIVER=3DPostgreSQL
ANSI;DATABASE=3Dimrelevsa;SERVER=3Dlocalhost;PORT=3D54329;UI D=3Dsa;client_e=
ncoding=3Dlatin1;boolsaschar=3D0"
"""

sorry for the noise

--
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitaci=C3=B3n de PostgreSQL

--
Sent via pgsql-odbc mailing list (pgsql-odbc [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Jaime Casanova [ Do, 13 Mai 2010 00:16 ] [ ID #2041382 ]
Datenbanken » gmane.comp.db.postgresql.odbc » [odbc] dsnless with connsettings

Vorheriges Thema: error compiling psqlodbc-08.04.0200 under red hat 5
Nächstes Thema: psqlODBC for 64 bits